package com.hobson.design.factory.simple;

/**
 * xml数据解析器
 *
 * @author: haibin.tang
 * @date: 2020/7/28
 */
public class XmlDataParser extends DataParserFactory implements DataParser{

    @Override
    public UserInfo parse(String data) {
        System.out.println("这是xml解析器");
        return new UserInfo();
    }
}
